﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true"
	CodeBehind="ComList.aspx.cs" Inherits="SBACN.WebSite.ContentDL.ComList" %>

<%@ Import Namespace="SBACN.WebSite.Common" %>
<%@ Register Src="~/UC/ClientPager.ascx" TagName="Pager" TagPrefix="uc1" %>
<%@ Register Src="~/UC/Navigator.ascx" TagName="Navigator" TagPrefix="uc1" %>
<%@ Register Src="~/UC/Menu.ascx" TagName="Menu" TagPrefix="uc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
	<!--主内容区-->
	<div id="wrapper">
		<uc1:Navigator ID="Navigator1" runat="server" />
		<!--左边栏-->
		<uc2:Menu ID="Menu1" runat="server" />
		<!--左边栏-->
		<!--右边栏-->
		<div id="container_r">
			<div id="pic_box">
				<img src="<%= Img %>" width="756" height="126" /></div>
			<div id="main_rbox">
				<div runat ="server" visible="false" id="SelItem">
					<div id="YearSelItem">
					<strong>&nbsp;&nbsp;按年检索：</strong><asp:DropDownList runat="server" ID="WeekReport" AutoPostBack="true" AppendDataBoundItems="true" Width="200px">
						<asp:ListItem Text="--全部--" Value="" Selected="True"></asp:ListItem>
					</asp:DropDownList>
					</div>
					<div id="dashed_line">
					</div>
				</div>
				<div id="news_con1">
					<ul>
						<asp:Repeater runat="server" ID="CouncilList">
							<ItemTemplate>
								<li>
									<span>[<%#Convert.ToDateTime( Eval("CreateDate")).ToString("yyyy-MM-dd")%>]</span>
									<a target="_blank" href="ComDetail.aspx?id=<%# Eval("ID") %>&st=<%= this.SystemCode %><%= string.IsNullOrWhiteSpace(NoContent) ? "" : "&nc=1" %>"><%# Convert.ToBoolean(Eval("IsPrivate")) ? Eval("Title").ToString().CutTo(44, 39) : Eval("Title").ToString().CutTo(45, 40)%></a>
										<%# (DateTime.Now - Convert.ToDateTime(Eval("CreateDate"))).Days < 6 ? "<img src=\"/images/new.gif\" width=\"20\" height=\"11\" />" : "" %>
									<%# Convert.ToBoolean(Eval("IsPrivate")) ? "<img src=\"/images/lock_sm.png\" height=\"12px\" width=\"12px\" />" : ""%>
								</li>
							</ItemTemplate>
						</asp:Repeater>
					</ul>
				</div>
				<div id="page">
					<uc1:Pager ID="Pager1" OnSelectedPageIndexChanged="BindSelectedPageIndexChanged"
						runat="server" PageSize="10" />
				</div>
			</div>
		</div>
		<!--右边栏-->
	</div>
	<div style="clear: both;">
	</div>
	<!--主内容区-->
</asp:Content>
